package com.wswy.wzcx.ui.data

import android.view.Gravity
import com.blankj.utilcode.util.SizeUtils
import com.wzcx.orclib.MaskConfig

object Certs {

    //JJ 本人照片
    val photoHints = mapOf("DLOF" to MaskConfig().apply {
        title = "拍摄驾驶证正本正面"
        subTitle = "避免反光影响，确保图像清晰，可以提高识别率"
        cardTitle = "中华人民共和国机动车驾驶证"
        cardHint = "将驾驶证正本正面置于此区域，并对齐左下角发证机关印章"
        gravity = Gravity.LEFT
        width = SizeUtils.dp2px(72f)
        height = width

        leftMargin = SizeUtils.dp2px(18f)
        bottomMargin = SizeUtils.dp2px(25f)

    },"DLOB" to MaskConfig().apply {
        title = "拍摄驾驶证正本背面"
        subTitle = "避免反光影响，确保图像清晰，可以提高识别率"
        cardHint = "将驾驶证正本背面置于此区域，并对齐左下角条形码"
        gravity = Gravity.LEFT
        width = SizeUtils.dp2px(200f)
        height = SizeUtils.dp2px(50f)

        rightMargin = SizeUtils.dp2px(18f)
        bottomMargin = rightMargin

    },
            "DLCF" to MaskConfig().apply {
                title = "拍摄驾驶证副本正面"
                subTitle = "避免反光影响，确保图像清晰，可以提高识别率"
                cardTitle = "中华人民共和国机动车驾驶证副页"
                cardHint = "将驾驶证副页正面置于此区域"
            },
            "VLOF" to MaskConfig().apply {
                title = "拍摄行驶证正本正面"
                subTitle = "避免反光影响，确保图像清晰，可以提高识别率"
                cardTitle = "中华人民共和国机动车行驶证"
                cardHint = "将行驶证正本正面置于此区域，并对齐左下角发证机关印章"
                gravity = Gravity.LEFT
                width = SizeUtils.dp2px(72f)
                height = width

                leftMargin = SizeUtils.dp2px(18f)
                bottomMargin = SizeUtils.dp2px(25f)//25f

            },
            "VLCF" to MaskConfig().apply {
                title = "拍摄行驶证副本正面"
                subTitle = "避免反光影响，确保图像清晰，可以提高识别率"
                cardHint = "将行驶证副本正面置于此区域，并对齐右下角条形码"
                gravity = Gravity.RIGHT
                width = SizeUtils.dp2px(188f)
                height = SizeUtils.dp2px(36f)

                rightMargin = SizeUtils.dp2px(18f)
                bottomMargin = rightMargin
            })

}